package com.yuanrui.practice.server.service;

import com.yuanrui.practice.api.common.PageResult;
import com.yuanrui.practice.api.req.*;
import com.yuanrui.practice.api.vo.*;

import java.util.List;

public interface PracticeDetailService {
    Boolean submit(SubmitPracticeDetailReq req);

    Boolean submitSubject(SubmitSubjectDetailReq req);

    List<ScoreDetailVO> getScoreDetail(GetScoreDetailReq req);

    SubjectDetailVO getSubjectDetail(GetSubjectDetailReq req);

    ReportVO getReport(GetReportReq req);

    List<RankVO> getPracticeRankList();

    PageResult<UnCompletePracticeSetVO> getUnCompletePractice(GetUnCompletePracticeReq req);

    Boolean giveUpPractice(Long practiceId);
}
